import axios from '@assets/request/index'

export default function(token:string){
	return new Promise(async (resolve,reject)=>{
		var result:any = await axios({
			url:'/check',
			headers:{
				'x-token-shitian':token||'null'
			}
		})
		resolve(result.state);
	})
}